﻿<ribbon:RibbonWindow
    x:Class="WpfRibbon.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
    Title="Ribbon für WPF - Demo"
    x:Name="RibbonWindow"
    Width="640"
    Height="480">

    <Grid
        x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition
                Height="Auto" />
            <RowDefinition
                Height="*" />
        </Grid.RowDefinitions>

        <ribbon:Ribbon
            x:Name="Ribbon"
            IsSynchronizedWithCurrentItem="True"
            SelectedIndex="0">
            <ribbon:Ribbon.ApplicationMenu>
                <ribbon:RibbonApplicationMenu
                    SmallImageSource="Images\SmallIcon.png">
                    <ribbon:RibbonApplicationMenuItem
                        Header="Hello Ribbon"
                        x:Name="MenuItem1"
                        ImageSource="Images\LargeIcon.png" />
                </ribbon:RibbonApplicationMenu>
            </ribbon:Ribbon.ApplicationMenu>

            

            <ribbon:RibbonTab
                x:Name="HomeTab"
                Header="Home">

                <ribbon:RibbonGroup
                    Header="Hinzufügen">
                    <ribbon:RibbonButton
                        LargeImageSource="Images\PlusBlue.png"
                        Label="Benutzer" />

                    <ribbon:RibbonButton
                        SmallImageSource="Images\PlusGrey.png"
                        Label="Gruppe" />
                    <ribbon:RibbonButton
                        SmallImageSource="Images\PlusGreen.png"
                        Label="Ordner" />
                    <ribbon:RibbonButton
                        SmallImageSource="Images\PlusOrange.png"
                        Label="Akte" />

                </ribbon:RibbonGroup>
                <ribbon:RibbonGroup
                    Header="Auswahl">
                    <ribbon:RibbonButton
                        LargeImageSource="Images\Sort.png"
                        Label="Sortieren" />
                    <ribbon:RibbonButton
                        LargeImageSource="Images\RefreshBlue.png"
                        Label="Aktualisieren" />
                </ribbon:RibbonGroup>

            </ribbon:RibbonTab>

            <ribbon:RibbonTab
                Header="Daten">
                <ribbon:RibbonGroup>
                    <ribbon:RibbonComboBox>
                        <ribbon:RibbonComboBox.Items>
                            <TextBlock
                                Text="Hallo" />
                            <TextBlock
                                Text="Welt" />
                        </ribbon:RibbonComboBox.Items>
                    </ribbon:RibbonComboBox>
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>

            <ribbon:RibbonTab
                Header="Einstellungen">

            </ribbon:RibbonTab>
            <ribbon:RibbonTab
                Header="Recherche">

            </ribbon:RibbonTab>
        </ribbon:Ribbon>

    </Grid>
</ribbon:RibbonWindow>
